@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --fg: #000000;
    --bg: #ffffff;
    --muted: #a3a3a3;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 0px; }

/* ---------------------------------
   GLOBAL ANIMATIONS
--------------------------------- */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ---------------------------------
   LANDING PAGE (index.html)
--------------------------------- */
.landing-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    overflow: hidden;
}

.stagger-1 { animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; animation-delay: 0.1s; }
.stagger-2 { animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; animation-delay: 0.25s; }
.stagger-3 { animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; animation-delay: 0.4s; }

.landing-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.status-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: -0.01em;
    margin-bottom: 2.5rem;
}

.apply-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--bg);
    background: var(--fg);
    padding: 12px 36px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.apply-btn:hover {
    transform: scale(1.04);
    background: #1a1a1a;
}

/* Landing Bottom Socials */
.bottom-dock {
    position: fixed;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 20px;
    z-index: 1000;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.55s;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    opacity: 0.3;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
}

.social-link img {
    width: 100%;
    height: 100%;
}

.landing-footer {
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.02em;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 0.7s;
}

/* Mobile specific fixes for fixed elements */
@media (max-width: 768px) {
    .bottom-dock { left: 50%; transform: translateX(-50%); bottom: 70px; animation-delay: 0.55s; }
    .landing-footer { right: auto; left: 50%; transform: translateX(-50%); bottom: 30px; animation-delay: 0.7s; }
    
    @keyframes slideUpFadeMobile {
        0% { opacity: 0; transform: translate(-50%, 30px); }
        100% { opacity: 1; transform: translate(-50%, 0); }
    }
    .bottom-dock, .landing-footer {
        animation-name: slideUpFadeMobile;
    }
}

/* ---------------------------------
   APPLICATION PAGE (apply.html)
--------------------------------- */
.apply-body {
    overflow-x: hidden;
}

.step {
    display: none;
    opacity: 0;
}

.step.active {
    display: block;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.minimal-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e5e5e5;
    font-size: 1.25rem;
    padding: 0.5rem 0;
    color: #000;
    transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.minimal-input:focus {
    outline: none;
    border-bottom-color: #000;
}
.minimal-input::placeholder { color: #d4d4d4; }

.song-input {
    width: 100%;
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.song-input:focus {
    outline: none;
    border-color: #000;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.pill {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 8px;
    margin-bottom: 8px;
}
.pill:hover { border-color: #000; transform: translateY(-2px); }
.pill.selected { background: #000; color: #fff; border-color: #000; }