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

:root {
    --bg-primary: #202020;
    --text-primary: #FEFEFE;
    --accent-green: #A6E242;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Custom neon green crosshair cursor - matches theme */
* {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cline x1='10' y1='0' x2='10' y2='8' stroke='%23A6E242' stroke-width='1.5'/%3E%3Cline x1='10' y1='12' x2='10' y2='20' stroke='%23A6E242' stroke-width='1.5'/%3E%3Cline x1='0' y1='10' x2='8' y2='10' stroke='%23A6E242' stroke-width='1.5'/%3E%3Cline x1='12' y1='10' x2='20' y2='10' stroke='%23A6E242' stroke-width='1.5'/%3E%3Ccircle cx='10' cy='10' r='1.5' fill='%23A6E242'/%3E%3C/svg%3E") 10 10, crosshair !important;
}

/* Text cursor for inputs */
input, textarea {
    cursor: text !important;
}

html, body {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    position: relative;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    padding: 2rem 0;
    width: 100%;
    max-width: 100%;
}

/* Scan Lines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    background: linear-gradient(
        transparent 50%,
        rgba(166, 226, 66, 0.03) 50%
    );
    background-size: 100% 4px;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* Header */
.header {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

/* Brand Name */
.brand-name {
    text-align: center;
    margin-bottom: 0.25rem;
    margin-top: -1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    padding: 0 2rem;
    overflow: visible;
    box-sizing: border-box;
}

.brand-title {
    font-family: var(--font-sans);
    font-size: 6.5rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    text-shadow: 
        0 0 20px rgba(254, 254, 254, 0.3),
        0 0 40px rgba(254, 254, 254, 0.1);
    animation: subtle-glow 4s ease-in-out infinite;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
    overflow: visible;
    max-width: 100%;
    box-sizing: border-box;
}

.brand-letter {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.brand-letter:hover {
    color: var(--accent-green);
    text-shadow: 
        0 0 15px var(--accent-green),
        0 0 30px rgba(166, 226, 66, 0.5);
    transform: translateY(-2px);
}

.brand-accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--accent-green),
        transparent
    );
    box-shadow: 0 0 10px var(--accent-green);
    opacity: 0.6;
    animation: pulse-glow 3s ease-in-out infinite;
}

.brand-accent-left {
    transform: rotate(180deg);
}

@keyframes subtle-glow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(254, 254, 254, 0.3),
            0 0 40px rgba(254, 254, 254, 0.1);
    }
    50% {
        text-shadow: 
            0 0 25px rgba(254, 254, 254, 0.4),
            0 0 50px rgba(254, 254, 254, 0.15),
            0 0 10px rgba(166, 226, 66, 0.2);
    }
}

.logo-underline {
    height: 2px;
    width: 100%;
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px var(--accent-green);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 12px var(--accent-green);
    }
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

/* Central Message */
.central-message {
    text-align: center;
    margin-bottom: 0.25rem;
}

.headline {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 0;
    text-transform: uppercase;
    line-height: 1.2;
    opacity: 0.8;
}

.subhead {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--accent-green);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(166, 226, 66, 0.5);
}

/* CTA Button (shown after headline on all screen sizes) */
.mobile-cta-container {
    display: block;
    text-align: center;
    margin: 1.5rem 0;
    padding: 0 2rem;
}

.mobile-cta-button {
    text-decoration: none;
    display: inline-block;
    font-size: 1rem !important;
    padding: 1rem 2.5rem !important;
}

/* Mission Statement Section */
.mission-section {
    width: 100%;
    max-width: 900px;
    margin: 3rem 0 2rem 0;
    padding: 0 2rem;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.mission-intro {
    text-align: center;
}

.mission-tagline {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.mission-point {
    padding: 1.5rem;
    border: 1px solid rgba(166, 226, 66, 0.2);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mission-point:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.2);
    transform: translateY(-2px);
}

.mission-point-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-green);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 10px rgba(166, 226, 66, 0.3);
}

.mission-point-text {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    opacity: 0.85;
    margin: 0;
}

.mission-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.mission-cta-button {
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem !important;
    padding: 1.25rem 3rem !important;
}

.mission-cta-button:hover {
    transform: translateY(-2px);
}

/* Panel Container */
.panel-container {
    width: 100%;
    max-width: 700px;
    position: relative;
}

/* Role Selector */
.role-selector {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.role-button {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.3);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    flex: 1;
}

.role-button:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.role-button.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(166, 226, 66, 0.4);
}

/* Subcategory Selector */
.subcategory-group {
    animation: fadeIn 0.3s ease-in-out;
}

.subcategory-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
    justify-content: center;
}

.subcategory-button {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    opacity: 0.7;
    flex: 0 1 auto;
    min-width: calc(33% - 0.4rem);
    text-align: center;
}

.subcategory-button:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    opacity: 1;
}

.subcategory-button.active {
    background: rgba(166, 226, 66, 0.15);
    color: var(--accent-green);
    border-color: var(--accent-green);
    opacity: 1;
    box-shadow: 0 0 8px rgba(166, 226, 66, 0.3);
}

/* Team Selector */
.team-group {
    animation: fadeIn 0.3s ease-in-out;
}

.team-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.team-button {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    opacity: 0.7;
}

.team-button:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    opacity: 1;
}

.team-button.active {
    background: rgba(166, 226, 66, 0.15);
    color: var(--accent-green);
    border-color: var(--accent-green);
    opacity: 1;
    box-shadow: 0 0 8px rgba(166, 226, 66, 0.3);
}

/* Follow-up Question */
.followup-group {
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.followup-group .form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.followup-group .form-textarea {
    width: 100%;
    min-height: 50px;
    max-height: 60px;
    padding: 0.4rem;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 254, 254, 0.3);
    color: var(--text-primary);
    resize: none;
    box-sizing: border-box;
}

.followup-group .form-textarea::placeholder {
    color: rgba(254, 254, 254, 0.3);
}

.followup-group .form-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px var(--accent-green);
    outline: none;
}

.hint {
    font-size: 0.6rem;
    opacity: 0.6;
    font-weight: 400;
}

.optional {
    font-size: 0.6rem;
    opacity: 0.5;
    font-weight: 400;
}

/* Panels */
.panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.panel.active {
    display: block;
}

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

.panel-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Waitlist forms - more compact */
#waitlist-form-step1,
#waitlist-form-step2 {
    gap: 0.75rem;
}

/* Name row - side by side */
.name-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    width: 100%;
}

.name-row > .form-group {
    flex: 1 1 45%;
    min-width: 0;
}

#waitlist-form-step1 .form-group,
#waitlist-form-step2 .form-group {
    gap: 0.25rem;
}

#waitlist-form-step1 .form-label,
#waitlist-form-step2 .form-label {
    font-size: 0.7rem;
}

#waitlist-form-step1 .form-input,
#waitlist-form-step1 .form-input-mono,
#waitlist-form-step2 .form-input,
#waitlist-form-step2 .form-input-mono {
    padding: 0.4rem 0;
    font-size: 0.75rem;
}

#waitlist-form-step2 .form-textarea {
    min-height: 50px;
    max-height: 60px;
    padding: 0.4rem;
    font-size: 0.75rem;
}

#waitlist-panel .panel-title {
    margin-bottom: 0.5rem;
    margin-top: -0.25rem;
    font-size: 1.1rem;
}

#waitlist-form-step1 .cta-button,
#waitlist-form-step2 .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

/* Step 2 Container */
.step2-container {
    margin-top: 1rem;
    padding-top: 1rem;
}

.step2-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(166, 226, 66, 0.5),
        transparent
    );
    margin-bottom: 0.75rem;
}

.step2-header {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

#waitlist-form-step2 {
    gap: 0.5rem;
}

#waitlist-form-step2 .form-textarea {
    min-height: 36px;
    max-height: 40px;
    padding: 0.3rem;
    font-size: 0.7rem;
}

#waitlist-form-step2 .cta-button {
    margin-top: 0.25rem;
    padding: 0.6rem 1rem;
}

/* URL Buttons Row */
.url-buttons-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.url-button {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.3);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    flex: 1;
    opacity: 0.6;
}

.url-button:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    opacity: 1;
}

.url-button.active {
    border-color: var(--accent-green);
    color: var(--accent-green);
    opacity: 1;
    box-shadow: 0 0 8px rgba(166, 226, 66, 0.3);
}

.url-fields-container {
    display: flex;
    gap: 0.5rem;
    min-height: 0;
    margin: 0;
}

.url-field {
    flex: 1;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0;
    border: none;
}

.url-field.visible {
    opacity: 1;
    max-height: 100px;
    margin-bottom: 0;
}

.url-field.hidden {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
}

.url-input {
    width: 100%;
    font-size: 0.8rem !important;
    padding: 0.5rem 0 !important;
}

.form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-transform: uppercase;
}

.required {
    color: var(--accent-green);
}

.word-count {
    font-size: 0.65rem;
    opacity: 0.7;
    font-weight: 400;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(254, 254, 254, 0.3);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    caret-color: var(--accent-green); /* Green cursor */
}

.form-input-mono {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.form-input:focus {
    border-bottom-color: var(--accent-green);
    box-shadow: 0 1px 0 0 var(--accent-green);
}

.form-input::placeholder {
    color: rgba(254, 254, 254, 0.3);
    opacity: 1;
}

.form-textarea {
    min-height: 60px;
    max-height: 80px;
    resize: none;
    border: 1px solid rgba(254, 254, 254, 0.3);
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.8rem;
    caret-color: var(--accent-green); /* Green cursor */
}

.form-textarea:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 1px var(--accent-green);
}

.cursor-blink {
    display: none !important; /* Disabled - using native green cursor instead */
}

.form-textarea + .cursor-blink {
    height: auto; /* Will be set by JavaScript to match font size */
}

/* Green cursor when input is focused */
.form-input:focus,
.form-textarea:focus {
    caret-color: var(--accent-green);
}

/* Cursor opacity controlled by JavaScript */

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* CTA Buttons */
.cta-button {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border: none;
    outline: none;
}

.cta-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.4);
}

.cta-primary:hover {
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.6);
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.cta-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(254, 254, 254, 0.3);
}

.cta-roles-button {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem !important;
    padding: 1.25rem 3rem !important;
    transition: all 0.3s ease;
}

.cta-roles-button:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.6);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    opacity: 0.6;
}

/* Responsive adjustments for 1920x1080 viewport */
@media (max-height: 1080px) {
    .brand-title {
        font-size: 5rem;
        letter-spacing: 0.3em;
    }
    
    .brand-accent-line {
        width: 40px;
    }
    
    .main-content {
        gap: 1rem;
    }
}

@media (max-width: 1920px) {
    .brand-title {
        font-size: clamp(4rem, 6vw, 6.5rem);
    }
}

/* Responsive adjustments for mission section */
@media (max-width: 768px) {
    /* Show mobile button on small screens */
    .mobile-cta-container {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 0.5rem 0;
    }
    
    .mobile-cta-container .mobile-cta-button {
        width: 100%;
    }
    
    .mission-section {
        margin: 0.5rem 0 0.25rem 0;
        padding: 0 0.75rem;
    }
    
    .mission-content {
        gap: 0.75rem;
    }
    
    .mission-intro {
        margin-bottom: -0.25rem;
    }
    
    .mission-tagline {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .mission-points {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .mission-point {
        padding: 0.75rem;
    }
    
    .mission-point-title {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }
    
    .mission-point-text {
        font-size: 0.75rem;
        line-height: 1.35;
    }
    
    .mission-cta-button {
        font-size: 0.95rem !important;
        padding: 1rem 2rem !important;
    }
    
    /* Hide mission section CTA button on mobile (we show mobile-cta-container instead) */
    .mission-cta {
        display: none;
    }
    
    .brand-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }
    
    .brand-name {
        gap: 1rem;
        padding: 0 1rem;
        margin-bottom: 0;
    }
    
    .brand-accent-line {
        width: 20px;
    }
    
    .central-message {
        margin-bottom: 0;
    }
    
    .headline {
        font-size: 0.75rem;
    }
    
    .footer {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        padding: 0.5rem;
    }
    
    body {
        padding: 1rem 0;
        min-height: 100vh;
        height: auto;
    }
    
    .main-content {
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 1.5rem;
        letter-spacing: 0.15em;
    }
    
    .brand-name {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .brand-accent-line {
        width: 15px;
    }
}

@media (max-width: 375px) {
    .brand-title {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }
}

/* Desktop-only: More breathing room */
@media (min-width: 769px) {
    .mission-section {
        margin: 1rem 0 1rem 0;
    }
    
    .mission-tagline {
        font-size: 1.1rem;
    }
    
    .mission-content {
        gap: 1.5rem;
    }
    
    .mission-points {
        gap: 1.5rem;
    }
    
    .mission-point {
        padding: 1.25rem;
    }
    
    .mobile-cta-button {
        font-size: 1.1rem !important;
        padding: 1.25rem 3rem !important;
    }
    
    .brand-name {
        margin-bottom: 0.5rem;
        margin-top: 0;
    }

    .central-message {
        margin-bottom: 0.5rem;
    }
    
.mobile-cta-container {
    margin: 0.75rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

    .main-content {
        gap: 0.75rem;
        padding: 0.5rem 4rem;
    }
    
    body {
        padding: 1rem 0;
    }

    .panel-container {
        max-width: 1400px;
        width: 80%;
    }

    #waitlist-panel .panel-title {
        margin-bottom: 1.5rem;
        margin-top: 0;
        font-size: 1.5rem;
    }

    #waitlist-form-step1,
    #waitlist-form-step2 {
        gap: 1.5rem;
    }

    #waitlist-form-step1 .form-group,
    #waitlist-form-step2 .form-group {
        gap: 0.6rem;
    }

    #waitlist-form-step1 .form-label,
    #waitlist-form-step2 .form-label {
        font-size: 0.9rem;
    }

    #waitlist-form-step1 .form-input,
    #waitlist-form-step1 .form-input-mono,
    #waitlist-form-step2 .form-input,
    #waitlist-form-step2 .form-input-mono {
        font-size: 1.1rem;
        padding: 0.75rem 0;
    }

    #waitlist-form-step2 .form-textarea {
        min-height: 50px;
        max-height: 60px;
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    #waitlist-form-step1 .cta-button,
    #waitlist-form-step2 .cta-button {
        font-size: 0.9rem;
        padding: 1rem 2rem;
    }

    .step2-container {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .step2-header {
        font-size: 1rem;
    }
}

/* Allow scrolling when content is tall */
html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid rgba(166, 226, 66, 0.3);
    box-shadow: 0 0 40px rgba(166, 226, 66, 0.2);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-sizing: border-box;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-green) rgba(0, 0, 0, 0.3);
}

/* Webkit scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #b8f254;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

.modal-close:hover {
    opacity: 1;
    color: var(--accent-green);
}

/* Modal responsive adjustments */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 0.75rem;
        box-sizing: border-box;
    }
    
    .modal-content {
        padding: 1.5rem 1.25rem;
        max-height: 80vh;
        margin: 0;
        box-sizing: border-box;
    }
    
    .modal-content .form-group {
        gap: 0.2rem;
    }
    
    .modal-content .form-label {
        font-size: 0.65rem;
    }
    
    .modal-content .form-input {
        font-size: 0.85rem;
        padding: 0.35rem 0;
    }
    
    .modal-content .name-row {
        gap: 0.75rem;
    }
    
    .modal-content .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }
    
    .modal-content .step2-container {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .modal-content .step2-header {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .modal-content .form-textarea {
        min-height: 40px;
        max-height: 50px;
        font-size: 0.75rem;
        padding: 0.3rem;
    }
    
    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.5rem;
    }
}

/* Terminal Overlay */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.terminal-overlay.fade-out {
    opacity: 0;
}

.terminal-container {
    width: 100%;
    max-width: 100%;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(166, 226, 66, 0.5);
}

.terminal-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: terminalFadeIn 0.2s ease-in forwards;
    word-wrap: break-word;
    white-space: pre-wrap;
}

@keyframes terminalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.terminal-cursor {
    display: inline-block;
    width: 0.6em;
    height: 1em;
    background-color: var(--accent-green);
    margin-left: 0.2em;
    animation: terminalBlink 1s infinite;
    box-shadow: 0 0 10px rgba(166, 226, 66, 0.8);
    vertical-align: baseline;
}

@keyframes terminalBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}


/* ===========================================
   CAREERS PAGE STYLES
   =========================================== */

.careers-page {
    display: block;
    padding: 0;
    min-height: 100vh;
}

.careers-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    z-index: 100;
    background: rgba(32, 32, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(166, 226, 66, 0.1);
}

.careers-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.careers-logo-icon {
    width: 36px;
    height: 36px;
}

.careers-logo-text {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.careers-home-btn {
    padding: 0.5rem 1.5rem;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(166, 226, 66, 0.3);
}

.careers-home-btn:hover {
    box-shadow: 0 0 25px rgba(166, 226, 66, 0.5);
    transform: translateY(-1px);
}

.careers-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 7rem 2rem 4rem 2rem;
}

.careers-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(166, 226, 66, 0.3);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    background: rgba(166, 226, 66, 0.05);
}

.careers-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-green);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.careers-badge-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(254, 254, 254, 0.8);
}

.careers-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.careers-title-italic {
    font-style: italic;
    color: var(--accent-green);
    text-shadow: 0 0 30px rgba(166, 226, 66, 0.3);
}

.careers-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: rgba(254, 254, 254, 0.7);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .roles-grid { grid-template-columns: 1fr; }
}

.role-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: inherit;
    color: inherit;
}

.role-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.15);
    transform: translateY(-2px);
}

.role-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.role-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(166, 226, 66, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.role-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-green);
    transition: all 0.3s ease;
}

.role-card:hover .role-card-icon {
    background: var(--accent-green);
}

.role-card:hover .role-card-icon svg {
    stroke: var(--bg-primary);
}

.role-card-arrow {
    font-size: 1.25rem;
    color: rgba(254, 254, 254, 0.4);
    transition: all 0.3s ease;
}

.role-card:hover .role-card-arrow {
    color: var(--accent-green);
    transform: translateX(4px);
}

.role-card-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.role-card-description {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(254, 254, 254, 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.role-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.role-tag {
    padding: 0.35rem 0.75rem;
    background: rgba(166, 226, 66, 0.08);
    border: 1px solid rgba(166, 226, 66, 0.2);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(254, 254, 254, 0.7);
    letter-spacing: 0.05em;
}

.careers-cta-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.careers-cta-card .careers-cta-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.careers-cta-card .careers-cta-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(254, 254, 254, 0.6);
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.careers-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.3);
}

.careers-cta-button:hover {
    box-shadow: 0 0 35px rgba(166, 226, 66, 0.5);
    transform: translateY(-2px);
}

.careers-cta-arrow {
    transition: transform 0.3s ease;
}

.careers-cta-button:hover .careers-cta-arrow {
    transform: translateX(3px);
}

.careers-footer {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.careers-footer-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(254, 254, 254, 0.4);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .careers-header-bar { padding: 0.75rem 1rem; }
    .careers-logo-text { font-size: 1rem; }
    .careers-logo-icon { width: 28px; height: 28px; }
    .careers-home-btn { padding: 0.4rem 1rem; font-size: 0.7rem; }
    .careers-main { padding: 5rem 1rem 2rem 1rem; }
    .careers-hero { margin-bottom: 2rem; }
    .careers-badge { padding: 0.4rem 0.75rem; }
    .careers-badge-text { font-size: 0.65rem; }
    .careers-subtitle { font-size: 0.95rem; }
    .role-card { padding: 1.25rem; }
    .role-card-icon { width: 40px; height: 40px; }
    .role-card-icon svg { width: 20px; height: 20px; }
    .role-card-title { font-size: 1.1rem; }
    .role-card-description { font-size: 0.85rem; }
    .careers-cta-card { padding: 2rem 1.5rem; }
    .careers-cta-card .careers-cta-title { font-size: 1.25rem; }
    .careers-cta-card .careers-cta-text { font-size: 0.9rem; }
}

/* ===========================================
   APPLICATION PAGE STYLES
   =========================================== */

.application-page {
    display: block;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

/* Progress Bar */
.application-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(254, 254, 254, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.progress-bar {
    flex: 1;
    height: 100%;
    background: rgba(254, 254, 254, 0.1);
    position: relative;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-green);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-green);
}

.progress-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-green);
    margin-left: 1rem;
    font-weight: 600;
}

/* Application Main */
.application-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem 2rem;
}

.application-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(254, 254, 254, 0.6);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.application-back-link:hover {
    color: var(--accent-green);
}

.application-back-link svg {
    stroke: currentColor;
}

/* Application Hero */
.application-hero {
    margin-bottom: 3rem;
}

.application-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.application-title-accent {
    color: var(--accent-green);
    text-shadow: 0 0 30px rgba(166, 226, 66, 0.3);
}

.application-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(254, 254, 254, 0.7);
    line-height: 1.6;
}

/* Application Cards */
.application-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.application-card:hover {
    border-color: rgba(166, 226, 66, 0.3);
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.1);
}

.pitch-card {
    border-color: rgba(166, 226, 66, 0.3);
    background: rgba(166, 226, 66, 0.03);
}

.pitch-card:hover {
    border-color: var(--accent-green);
    box-shadow: 0 0 40px rgba(166, 226, 66, 0.2);
}

/* Card Headers */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
}

.card-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(254, 254, 254, 0.4);
    min-width: 40px;
}

.card-number-accent {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(166, 226, 66, 0.5);
}

.card-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    flex: 1;
}

.word-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.5);
    font-weight: 500;
}

.word-count-error {
    color: #ff4444;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Enhanced Form Inputs */
.form-input-enhanced {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    caret-color: var(--accent-green);
}

.form-input-enhanced:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(166, 226, 66, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.form-input-enhanced::placeholder {
    color: rgba(254, 254, 254, 0.3);
}

.form-textarea-enhanced {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    min-height: 120px;
    resize: vertical;
    transition: all 0.3s ease;
    outline: none;
    caret-color: var(--accent-green);
}

.form-textarea-enhanced:focus {
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(166, 226, 66, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.form-textarea-enhanced::placeholder {
    color: rgba(254, 254, 254, 0.3);
}

/* Role Toggle Buttons */
.role-toggle-btn {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.role-toggle-btn:hover {
    border-color: rgba(166, 226, 66, 0.5);
    background: rgba(166, 226, 66, 0.05);
}

.role-toggle-btn.active {
    background: rgba(166, 226, 66, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.2);
}

.role-check {
    color: var(--accent-green);
    font-weight: 600;
}

.role-plus {
    color: rgba(254, 254, 254, 0.4);
}

.role-selector-error {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(254, 254, 254, 0.5);
    margin-top: 0.5rem;
    display: none;
}

/* Links Subsection */
.links-subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 254, 254, 0.1);
}

.links-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.custom-link-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.custom-link-label {
    flex: 0 0 150px;
}

.custom-link-url {
    flex: 1;
}

.remove-link-btn {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 6px;
    color: rgba(254, 254, 254, 0.6);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
}

.remove-link-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.add-link-btn {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: rgba(254, 254, 254, 0.6);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.add-link-btn:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(166, 226, 66, 0.05);
}

.add-link-btn svg {
    stroke: currentColor;
}

/* Resume Upload Section */
.resume-subsection {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(254, 254, 254, 0.1);
}

.resume-upload-container {
    position: relative;
}

.resume-file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.resume-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed rgba(254, 254, 254, 0.2);
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.resume-upload-label:hover,
.resume-upload-label.dragover {
    border-color: var(--accent-green);
    background: rgba(166, 226, 66, 0.05);
}

.resume-upload-label svg {
    stroke: rgba(254, 254, 254, 0.5);
    transition: stroke 0.3s ease;
}

.resume-upload-label:hover svg {
    stroke: var(--accent-green);
}

.resume-upload-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: rgba(254, 254, 254, 0.8);
}

.resume-upload-hint {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.4);
}

.resume-file-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(166, 226, 66, 0.1);
    border: 1px solid var(--accent-green);
    border-radius: 8px;
}

.resume-file-preview svg {
    stroke: var(--accent-green);
    flex-shrink: 0;
}

.resume-file-name {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.resume-remove-btn {
    background: transparent;
    border: none;
    color: rgba(254, 254, 254, 0.6);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.resume-remove-btn:hover {
    color: #ff4444;
}

.resume-upload-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.resume-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(254, 254, 254, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.resume-progress-fill {
    height: 100%;
    background: var(--accent-green);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.resume-progress-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.6);
}

.resume-error {
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #ff4444;
}

/* Role Questions Section */
.role-questions-section {
    margin-bottom: 2rem;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(166, 226, 66, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.role-questions-section .form-group {
    margin-bottom: 2rem;
}

.role-questions-section .form-group:last-child {
    margin-bottom: 0;
}

.role-questions-section .form-label {
    margin-bottom: 0.75rem;
    display: block;
}

.role-questions-section .form-textarea-enhanced,
.role-questions-section .form-input-enhanced {
    margin-top: 0;
}

.role-questions-section:hover {
    border-color: rgba(166, 226, 66, 0.4);
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.1);
}

.form-section-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(166, 226, 66, 0.2);
}

.form-section-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-section-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent-green);
    filter: drop-shadow(0 0 8px rgba(166, 226, 66, 0.5));
}

/* Pitch Section */
.pitch-hint {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(254, 254, 254, 0.5);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Submit Button */
.application-submit {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.submit-button {
    width: 100%;
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.4);
}

.submit-button:hover:not(:disabled) {
    box-shadow: 0 0 40px rgba(166, 226, 66, 0.6);
    transform: translateY(-2px);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-arrow {
    transition: transform 0.3s ease;
}

.submit-button:hover:not(:disabled) .submit-arrow {
    transform: translateX(4px);
}

.form-error {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ff4444;
    margin-top: 1rem;
    text-align: center;
}

/* Success Screen */
.success-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.success-content {
    text-align: center;
    max-width: 500px;
}

.success-icon {
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.success-icon svg {
    stroke: currentColor;
    filter: drop-shadow(0 0 20px rgba(166, 226, 66, 0.5));
}

.success-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(254, 254, 254, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-home-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--accent-green);
    color: var(--bg-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.3);
}

.success-home-btn:hover {
    box-shadow: 0 0 30px rgba(166, 226, 66, 0.5);
    transform: translateY(-2px);
}

/* Application Footer */
.application-footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.application-footer-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(254, 254, 254, 0.4);
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    .application-main {
        padding: 4rem 1rem 2rem 1rem;
    }
    
    .application-card {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .card-number {
        font-size: 1.25rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}


/* ===========================================
   ADMIN PANEL STYLES
   =========================================== */

.admin-page {
    display: block;
    padding: 0;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

/* Login Screen */
.admin-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-card {
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(166, 226, 66, 0.3);
    border-radius: 12px;
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 40px rgba(166, 226, 66, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

.login-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--accent-green);
    font-size: 18px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.password-toggle-btn:hover {
    opacity: 0.7;
}

.password-input-wrapper .form-input-enhanced {
    padding-right: 45px;
}

/* Admin Dashboard */
.admin-dashboard {
    min-height: 100vh;
    padding: 0;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
    background: rgba(30, 30, 30, 0.8);
}

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-logo {
    width: 40px;
    height: 40px;
}

.admin-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.admin-logout-btn {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-logout-btn:hover {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
    background: rgba(30, 30, 30, 0.6);
    padding: 0 2rem;
}

.admin-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 1rem 2rem;
    color: rgba(254, 254, 254, 0.6);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(166, 226, 66, 0.05);
}

.admin-tab.active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
    background: rgba(166, 226, 66, 0.05);
}

/* Admin Content */
.admin-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.admin-filters {
    display: flex;
    gap: 1rem;
}

.admin-filter {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-filter:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(166, 226, 66, 0.2);
}

.admin-export-btn {
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-export-btn:hover {
    box-shadow: 0 0 20px rgba(166, 226, 66, 0.4);
    transform: translateY(-1px);
}

/* Admin Table */
.admin-table-container {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
}

.admin-table td {
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(254, 254, 254, 0.05);
}

.admin-table tbody tr:hover {
    background: rgba(166, 226, 66, 0.05);
}

.admin-table a {
    color: var(--accent-green);
    text-decoration: none;
}

.admin-table a:hover {
    text-decoration: underline;
}

.loading-cell,
.empty-cell,
.error-cell {
    text-align: center;
    padding: 3rem !important;
    color: rgba(254, 254, 254, 0.5);
    font-style: italic;
}

.error-cell {
    color: #ff4444;
}

/* Status Select */
.status-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-select:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(166, 226, 66, 0.2);
}

/* Action Buttons */
.action-btn {
    background: rgba(166, 226, 66, 0.1);
    border: 1px solid rgba(166, 226, 66, 0.3);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(166, 226, 66, 0.2);
    border-color: var(--accent-green);
    box-shadow: 0 0 10px rgba(166, 226, 66, 0.2);
}

/* Summary Text */
.summary-text {
    color: rgba(254, 254, 254, 0.7);
    font-size: 0.85rem;
    cursor: help;
}

.summary-pending {
    color: rgba(254, 254, 254, 0.4);
    font-style: italic;
    font-size: 0.85rem;
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.admin-modal-content {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(166, 226, 66, 0.3);
    border-radius: 12px;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.admin-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

.admin-modal-close:hover {
    opacity: 1;
    color: var(--accent-green);
}

#application-detail h2 {
    font-family: var(--font-sans);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.detail-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
}

.detail-section p {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.detail-section a {
    color: var(--accent-green);
    text-decoration: none;
}

.detail-section a:hover {
    text-decoration: underline;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.detail-section li {
    margin: 0.5rem 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.detail-answer {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
}

.detail-answer strong {
    color: var(--accent-green);
    display: block;
    margin-bottom: 0.25rem;
}

.detail-pitch {
    font-style: italic;
    color: rgba(254, 254, 254, 0.8);
    line-height: 1.8;
}

.detail-summary {
    color: rgba(254, 254, 254, 0.9);
    line-height: 1.7;
    padding: 1rem;
    background: rgba(166, 226, 66, 0.05);
    border-left: 3px solid var(--accent-green);
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .admin-tabs {
        padding: 0 1rem;
    }

    .admin-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-filters {
        flex-direction: column;
    }

    .admin-table-container {
        overflow-x: scroll;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* ===========================================
   ENHANCED ADMIN PANEL STYLES
   =========================================== */

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-badge-enhanced {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.status-submitted {
    background: rgba(254, 254, 254, 0.1);
    color: rgba(254, 254, 254, 0.7);
    border: 1px solid rgba(254, 254, 254, 0.2);
}

.status-reviewed {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.status-interviewing {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.4);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.status-hired {
    background: rgba(166, 226, 66, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(166, 226, 66, 0.4);
}

/* Voting UI */
.vote-section-inline {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vote-btn {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.2);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.vote-btn:hover {
    border-color: var(--accent-green);
    background: rgba(166, 226, 66, 0.1);
    transform: translateY(-1px);
}

.vote-up-btn:hover {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.vote-down-btn:hover {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.vote-count {
    font-weight: 600;
    color: var(--accent-green);
}

.vote-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.vote-button {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(254, 254, 254, 0.2);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vote-up-button:hover {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
}

.vote-down-button:hover {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.15);
}

/* Vote Prompt Modal */
.vote-prompt-content {
    padding: 1rem 0;
}

.vote-prompt-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.vote-prompt-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vote-prompt-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cancel-button {
    background: transparent;
    border: 1px solid rgba(254, 254, 254, 0.3);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    border-color: rgba(254, 254, 254, 0.5);
    background: rgba(254, 254, 254, 0.05);
}

/* Delete Button */
.delete-btn {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #f87171;
    transform: translateY(-1px);
}

.delete-btn-large {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.delete-btn-large:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #f87171;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Delete Confirmation Modal */
.delete-confirm-content {
    padding: 1rem 0;
}

.delete-confirm-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: #f87171;
    margin-bottom: 1rem;
    text-align: center;
}

.delete-confirm-text {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(254, 254, 254, 0.7);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.delete-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.delete-btn-confirm {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid #f87171;
    color: #f87171;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.delete-btn-confirm:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Enhanced Application Detail Modal */
.admin-modal-content-large {
    max-width: 900px;
    max-height: 90vh;
}

.detail-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(166, 226, 66, 0.2);
}

.detail-header-main h2 {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: rgba(166, 226, 66, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.detail-card-wide {
    grid-column: 1 / -1;
}

.detail-header {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(166, 226, 66, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.regenerate-summary-btn {
    background: rgba(166, 226, 66, 0.15);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-size: 1rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.regenerate-summary-btn:hover:not(:disabled) {
    background: rgba(166, 226, 66, 0.3);
    transform: scale(1.1);
}

.regenerate-summary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.detail-content {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: rgba(254, 254, 254, 0.8);
    line-height: 1.7;
}

.detail-content p {
    margin: 0.75rem 0;
}

.detail-content a {
    color: var(--accent-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.detail-content a:hover {
    text-decoration: underline;
    color: #b8f254;
}

.detail-answer-item {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--accent-green);
}

.detail-answer-item strong {
    color: var(--accent-green);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-answer-item span {
    display: block;
    color: rgba(254, 254, 254, 0.9);
    line-height: 1.6;
}

.detail-pitch {
    font-style: italic;
    color: rgba(254, 254, 254, 0.9);
    line-height: 1.8;
    padding: 1rem;
    background: rgba(166, 226, 66, 0.05);
    border-left: 3px solid var(--accent-green);
    border-radius: 8px;
}

.detail-summary {
    color: rgba(254, 254, 254, 0.9);
    line-height: 1.7;
    padding: 1rem;
    background: rgba(166, 226, 66, 0.05);
    border-left: 3px solid var(--accent-green);
    border-radius: 8px;
}

.detail-vote-section {
    grid-column: 1 / -1;
}

.detail-actions {
    grid-column: 1 / -1;
}

.status-select-enhanced {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.status-select-enhanced:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 2px rgba(166, 226, 66, 0.2);
}

.status-select-enhanced:hover {
    border-color: rgba(166, 226, 66, 0.4);
}

/* Responsive adjustments for enhanced admin */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-card-wide {
        grid-column: 1;
    }

    .detail-vote-section,
    .detail-actions {
        grid-column: 1;
    }

    .vote-section {
        flex-direction: column;
        align-items: stretch;
    }

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

    .vote-section-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .vote-btn {
        width: 100%;
        justify-content: center;
    }

    .detail-header-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ==================== STATS TAB STYLES ==================== */

.stats-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.stats-date-range {
    display: flex;
    gap: 0.5rem;
    background: rgba(30, 30, 30, 0.6);
    padding: 0.25rem;
    border-radius: 8px;
    border: 1px solid rgba(254, 254, 254, 0.1);
}

.stats-range-btn {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: rgba(254, 254, 254, 0.6);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.stats-range-btn:hover {
    color: var(--text-primary);
    background: rgba(254, 254, 254, 0.05);
}

.stats-range-btn.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stats-card:hover {
    border-color: rgba(166, 226, 66, 0.3);
    transform: translateY(-2px);
}

.stats-card-highlight {
    background: linear-gradient(135deg, rgba(166, 226, 66, 0.1) 0%, rgba(30, 30, 30, 0.6) 100%);
    border-color: rgba(166, 226, 66, 0.3);
}

.stats-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stats-card-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(254, 254, 254, 0.5);
}

.stats-card-icon {
    font-size: 1.25rem;
}

.stats-card-value {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stats-card-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.4);
}

.stats-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stats-chart-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(254, 254, 254, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
}

.stats-chart-card-wide {
    grid-column: 1 / -1;
}

.stats-chart-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.stats-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stats-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-bar {
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.75rem;
    min-width: 40px;
    transition: width 0.5s ease;
}

.stats-bar-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-primary);
}

.stats-bar-name {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(254, 254, 254, 0.02);
    border-radius: 6px;
}

.stats-list-rank {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
    width: 30px;
}

.stats-list-name {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.stats-list-count {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(254, 254, 254, 0.6);
}

.stats-empty {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(254, 254, 254, 0.4);
    text-align: center;
    padding: 2rem;
}

.trend-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 120px;
}

.trend-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.trend-bar {
    width: 100%;
    background: var(--accent-green);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.5s ease;
}

.trend-date {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(254, 254, 254, 0.4);
    margin-top: 0.5rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.stats-funnel {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.funnel-bar {
    height: 24px;
    border-radius: 4px;
    min-width: 20px;
    transition: width 0.5s ease;
}

.funnel-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(254, 254, 254, 0.6);
    white-space: nowrap;
}

/* ==================== TAGS STYLES ==================== */

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.tag-remove-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tag-remove-btn:hover {
    opacity: 1;
}

.tag-add-section {
    margin-top: 0.5rem;
}

.tag-select {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 6px;
    padding: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
}

.tag-select:focus {
    outline: none;
    border-color: var(--accent-green);
}

/* ==================== NOTES STYLES ==================== */

.notes-textarea {
    width: 100%;
    min-height: 100px;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(254, 254, 254, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.notes-textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.notes-textarea::placeholder {
    color: rgba(254, 254, 254, 0.3);
}

.notes-save-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    height: 1rem;
}

.notes-save-status.saving {
    color: rgba(254, 254, 254, 0.5);
}

.notes-save-status.saved {
    color: var(--accent-green);
}

.notes-save-status.error {
    color: #f87171;
}

/* ==================== RESUME VIEWER STYLES ==================== */

.resume-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.resume-view-btn,
.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(166, 226, 66, 0.1);
    border: 1px solid rgba(166, 226, 66, 0.3);
    border-radius: 6px;
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resume-view-btn:hover,
.resume-download-btn:hover {
    background: rgba(166, 226, 66, 0.2);
    border-color: var(--accent-green);
}

.resume-embed-container {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(254, 254, 254, 0.1);
}

.resume-embed-iframe {
    width: 100%;
    height: 500px;
    border: none;
    background: #fff;
}

.resume-embed-note {
    padding: 2rem;
    text-align: center;
    color: rgba(254, 254, 254, 0.5);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.resume-filename {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(254, 254, 254, 0.5);
}

/* ==================== DIGEST BUTTON STYLES ==================== */

.admin-toolbar-actions {
    display: flex;
    gap: 0.75rem;
}

.admin-digest-btn {
    background: linear-gradient(135deg, rgba(166, 226, 66, 0.2) 0%, rgba(166, 226, 66, 0.1) 100%);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-digest-btn:hover {
    background: rgba(166, 226, 66, 0.3);
    transform: translateY(-2px);
}

.admin-digest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.digest-info-icon {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.admin-digest-btn:hover .digest-info-icon {
    opacity: 1;
}

/* Digest Config Tooltip */
.digest-config-tooltip {
    position: fixed;
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 350px;
    max-width: 500px;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(166, 226, 66, 0.2);
    display: none;
}

.digest-config-tooltip.active {
    display: block;
}

.digest-config-tooltip h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.digest-config-tooltip .recipient-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.digest-config-tooltip .recipient-list li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(254, 254, 254, 0.1);
}

.digest-config-tooltip .recipient-list li:last-child {
    border-bottom: none;
}

.digest-config-tooltip .config-status {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(254, 254, 254, 0.1);
    font-size: 0.8rem;
    color: rgba(254, 254, 254, 0.6);
}

.digest-config-tooltip .config-status.configured {
    color: var(--accent-green);
}

.digest-config-tooltip .config-status.not-configured {
    color: #ff6b6b;
}

/* Responsive stats */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-date-range {
        flex-wrap: wrap;
    }
    
    .admin-toolbar-actions {
        flex-direction: column;
    }
}
