/* Form validation styles */
.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Position selection modal */
.position-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.position-option {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #e0e7ff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.position-option:hover {
    background: rgba(0, 212, 255, 0.2);
}

.position-option.selected {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Pricing CTA Button Style */
.pricing-cta-btn {
    align-items: center;
    background-image: linear-gradient(144deg,#AF40FF, #5B42F3 50%,#00DDEB);
    border: 0;
    border-radius: 8px;
    box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
    box-sizing: border-box;
    color: #FFFFFF;
    display: flex;
    font-family: Phantomsans, sans-serif;
    font-size: 20px;
    justify-content: center;
    line-height: 1em;
    max-width: 100%;
    min-width: 98px;
    padding: 3px;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    cursor: pointer;
}

.pricing-cta-btn:active,
.pricing-cta-btn:hover {
    outline: 0;
}

.pricing-cta-btn span {
    background-color: rgb(5, 6, 45);
    padding: 16px 24px;
    border-radius: 6px;
    width: 100%;
    height: 100%;
    transition: 300ms;
}

.pricing-cta-btn:hover span {
    background: none;
}

@media (min-width: 768px) {
    .pricing-cta-btn {
        font-size: 24px;
        min-width: 137px;
    }
}

/* Return to Top Link */
.return-to-top {
    text-align: center;
    margin: 2rem 0;
    animation: fadeIn 3s ease 1.4s forwards;
    opacity: 0;
}

.return-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.return-link:hover {
    color: #00ff88;
}

/* Maintenance Section */
.maintenance {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5rem 10rem 5rem 10rem;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeIn 3s ease forwards;
    opacity: 0;
    position: relative;
}

.maintenance-content {
    text-align: center;
    color: #e0e7ff;
    transform: scale(0.9, 0.9)
}

.maintenance-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Fraunces, 'Fraunces Fallback', 'Rock Salt', 'Rock Salt Fallback', serif;
}

.maintenance-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.maintenance-icon {
    margin-top: 2rem;
}

.maintenance-icon img {
    width: 180px;
    height: auto;
}

/* Archive Section */
.archive {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 2rem 50rem 2rem;
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeIn 3s ease forwards;
    opacity: 0;
    position: relative;
}

.archive-content {
    text-align: center;
    color: #e0e7ff;
}

.archive-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: Fraunces, 'Fraunces Fallback', 'Rock Salt', 'Rock Salt Fallback', serif;
}

.archive-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.archive-icon {
    margin-top: 2rem;
}

.archive-icon img {
    width: 100px;
    height: auto;
}

/* Privacy Page */
.privacy-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

/* Founder Profile Page */
.founder-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

.privacy-title {
    font-size: 3rem;
    color: #e0e7ff;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.last-updated {
    color: #94a3b8;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-section {
    margin-bottom: 2rem;
}

/* Work With Us Page */
.work-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

.work-title {
    font-size: 3rem;
    color: #e0e7ff;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.work-section {
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.work-section h2 {
    color: #e0e7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.work-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.work-section ul {
    color: #cbd5e1;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.work-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.work-section dl {
    margin: 1rem 0;
}

.work-section dt {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.work-section dd {
    margin-left: 0;
    margin-bottom: 1rem;
    padding-left: 0;
}

/* Work With Us specific styles */
.work-main {
    padding: 4rem 2rem;
    min-height: calc(100vh - 160px);
}

.work-title {
    font-size: 3rem;
    color: #e0e7ff;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.work-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.work-section {
    margin-bottom: 0.5rem;
    max-width: 600px;
}

.work-section h2 {
    color: #e0e7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.work-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.work-section ul {
    color: #cbd5e1;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.work-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.work-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.work-table th, .work-table td {
    padding: 1rem;
    text-align: center;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.work-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    vertical-align: middle;
}

.work-table td {
    background: rgba(255, 255, 255, 0.05);
}

.work-table th:first-child, .work-table td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.work-table tr:first-child th, .work-table tr:first-child td {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.work-table tr:last-child th, .work-table tr:last-child td {
    border-bottom: none;
}

.work-table th:last-child, .work-table td:last-child {
    border-right: none;
}

.work-table th, .work-table td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    text-align: center;
    color: #cbd5e1;
}

.work-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.marque-message {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    text-align: center;
    font-style: italic;
    color: #10b981;
}

.glyph-heading {
    margin-bottom: 1rem;
}

.glyph {
    font-weight: bold;
}

.aim-glyph {
    color: #10b981;
}

.chat-glyph {
    color: #CBA135;
}

.read-glyph {
    color: #00d4ff;
}

.disclaimer-glyph {
    color: #ff6b35;
}

.privacy-section h2 {
    color: #e0e7ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.privacy-section p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: #cbd5e1;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Work With Us Page Styles */
.return-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.return-link:hover {
    color: #00ff88;
}

.position-title {
    text-align: center;
    font-size: 2rem;
    color: #10b981;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Rock Salt', 'Rock Salt Fallback', cursive;
}

/* Left align main content sections, except disclaimers */
.privacy-section:not(.disclaimer) {
    text-align: left;
}

.privacy-section.disclaimer {
    text-align: center;
}

/* Center the application form */
#applicationForm {
    max-width: 600px;
    margin: 0 auto;
}

/* Position selection modal */
.position-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.position-option {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #e0e7ff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.position-option:hover {
    background: rgba(0, 212, 255, 0.2);
}

.position-option.selected {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Definition list styling for JD format */
dl {
    margin: 1rem 0;
}

dt {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

dd {
    margin-left: 0;
    margin-bottom: 1rem;
    padding-left: 0;
}

/* Education Cards */
.education-cards {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.education-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    width: 250px;
    height: 250px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.education-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e0e7ff;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.education-card:hover .card-hover {
    opacity: 1;
}

.card-hover .pill {
    margin-bottom: 1rem;
}

.card-hover p {
    color: #e0e7ff;
    font-size: 0.9rem;
    line-height: 1.5;
}