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

:root {
    --bg-main: #080b11;
    --bg-card: rgba(14, 20, 31, 0.7);
    --bg-card-hover: rgba(20, 28, 42, 0.9);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(0, 212, 255, 0.5);
    
    --text-main: #e8edf5;
    --text-muted: #7a8ea8;
    
    --accent-primary: #00d4ff;
    --accent-secondary: #00ffc8;
    --accent-purple: #a855f7;
    --accent-gold: #f59e0b;
    
    --shadow-main: 0 8px 40px 0 rgba(0, 0, 0, 0.5);
    --backdrop-blur: blur(16px);

    --status-pending-bg: rgba(245, 158, 11, 0.12);
    --status-pending-color: #f59e0b;
    --status-pending-border: rgba(245, 158, 11, 0.3);

    --status-interview-bg: rgba(168, 85, 247, 0.12);
    --status-interview-color: #a855f7;
    --status-interview-border: rgba(168, 85, 247, 0.3);

    --status-accepted-bg: rgba(16, 185, 129, 0.12);
    --status-accepted-color: #10b981;
    --status-accepted-border: rgba(16, 185, 129, 0.3);

    --status-rejected-bg: rgba(239, 68, 68, 0.12);
    --status-rejected-color: #ef4444;
    --status-rejected-border: rgba(239, 68, 68, 0.3);

    --status-blacklist-bg: rgba(127, 29, 29, 0.2);
    --status-blacklist-color: #ff2020;
    --status-blacklist-border: rgba(220, 38, 38, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    background-image: 
        radial-gradient(ellipse at 10% 0%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 255, 200, 0.03) 0%, transparent 50%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ============================================
   LOGO & HERO
   ============================================ */
.hero-logo {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 300px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.35));
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-main);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 212, 255, 0.12);
}

/* Typography & Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 200, 0.08);
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid rgba(0, 255, 200, 0.18);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

h1.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 20%, #94d8ff 60%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -2px;
    line-height: 1.1;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #080b11;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary:hover {
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

/* User card */
.user-card {
    background: rgba(14, 20, 31, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 8px 20px 8px 8px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

.user-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.user-card img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
}

/* Status bar */
.status-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: rgba(14, 20, 31, 0.7);
    backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 60px;
    margin: 0 auto 48px;
    width: fit-content;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* ============================================
   APPLICATION STATUS PANEL
   ============================================ */
.application-status-panel {
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.8), rgba(10, 15, 25, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 22px;
    padding: 32px;
    margin: 40px auto;
    max-width: 820px;
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.application-status-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.6;
}

.application-status-panel h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.application-status-panel p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 0.95rem;
}

/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.status-pending {
    background: var(--status-pending-bg);
    color: var(--status-pending-color);
    border: 1px solid var(--status-pending-border);
}

.status-under_review {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-interview {
    background: var(--status-interview-bg);
    color: var(--status-interview-color);
    border: 1px solid var(--status-interview-border);
}

.status-accepted {
    background: var(--status-accepted-bg);
    color: var(--status-accepted-color);
    border: 1px solid var(--status-accepted-border);
}

.status-rejected {
    background: var(--status-rejected-bg);
    color: var(--status-rejected-color);
    border: 1px solid var(--status-rejected-border);
}

.status-cooldown {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.status-blacklist {
    background: var(--status-blacklist-bg);
    color: var(--status-blacklist-color);
    border: 1px solid var(--status-blacklist-border);
}

/* ============================================
   REQUIREMENTS CARD
   ============================================ */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0;
}

.requirements-list li .req-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.12);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 28px;
}

.card-icon {
    font-size: 2.4rem;
    color: var(--accent-primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 18px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.card-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 800;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.65;
}

.card-reqs {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    border: 1px solid rgba(255,255,255,0.04);
}

.card-reqs strong {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: 14px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .container { padding: 24px 16px; }
    .grid { grid-template-columns: 1fr; }
    .hero-logo { width: 70px; height: 70px; }
}
