/* ==========================================
   FUTURISTIC / IOS / NEON UI THEME
========================================== */

/* GLOBAL */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
    background: radial-gradient(circle at 20% 20%, #0f1424, #080b15 60%, #05070f 100%);
    color: #e5e7eb;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animated background glow */
body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(42,255,138,0.15), transparent 60%),
                radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%),
                radial-gradient(circle, rgba(58,123,255,0.12), transparent 75%);
    filter: blur(80px);
    animation: floatGlow 14s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes floatGlow {
    from { transform: translate(-30px, -30px) scale(1); }
    to   { transform: translate(30px, 30px) scale(1.1); }
}

/* ==========================================
   LANDING PAGE (LOGIN / SIGNUP)
========================================== */

.landing-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.glass-card {
    width: 100%;
    max-width: 430px;
    padding: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 50px rgba(0,255,193,0.08),
        0 0 80px rgba(0,132,255,0.06);
}

.qtp-logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(to right, #22e6a8, #33b2ff 60%);
    -webkit-background-clip: text;
    color: transparent;
}

.qtp-subtext {
    text-align: center;
    font-size: 14px;
    color: #a3b3c7;
    margin-bottom: 24px;
}

.form-control {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 14px;
    padding: 12px 16px;
}

.form-control:focus {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-color: #22c55e;
    box-shadow: 0 0 0 1px rgba(34,197,94,0.5);
}

.btn-primary-soft {
    background: linear-gradient(135deg, #34f391, #2cd4ff);
    border: none;
    border-radius: 999px;
    padding: 12px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(52,243,145,0.3);
}

.btn-primary-soft:hover {
    filter: brightness(1.08);
}

/* ==========================================
   DASHBOARD LAYOUT
========================================== */

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    width: 260px;
    background: rgba(11,13,22,0.85);
    backdrop-filter: blur(30px);
    border-right: 1px solid rgba(255,255,255,0.06);
    padding: 28px 22px;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    color: #22e6a8;
}

.nav-pill {
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 8px;
    transition: 0.2s ease;
    color: #d8dde7;
}

.nav-pill:hover,
.nav-pill.active {
    background: linear-gradient(135deg, rgba(52,243,145,0.25), rgba(38,197,254,0.25));
    color: white;
    border: 1px solid rgba(52,243,145,0.5);
}

.app-main {
    flex: 1;
    padding: 32px;
}

.section-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 22px;
    backdrop-filter: blur(20px);
    transition: transform .2s ease;
}

.section-card:hover {
    transform: translateY(-2px);
}

/* ==========================================
   IMPROVED EARN CARDS
========================================== */

.earn-card {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(22,236,136,0.12), rgba(38,212,255,0.1));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 25px rgba(22,236,136,0.12);
    transition: 0.25s ease;
    height: 100%;
}

.earn-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 0 40px rgba(22,236,136,0.22);
}

.earn-title {
    font-size: 15px;
    color: #8ddfff;
    margin-bottom: 4px;
    font-weight: 600;
}

.earn-amount {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.earn-benefits {
    font-size: 13px;
    color: #b7c4d6;
}

/* Support cards */
.agent-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 16px;
    transition: 0.2s ease;
}

.agent-card:hover {
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .app-shell { flex-direction: column; }
    .app-sidebar { width: 100%; margin-bottom: 18px; }
}
